iThemesSecurity\User_Groups\REST\User_Groups A

Total Complexity 68
Dependencies 15
Dependents 0
Total lines 463
Lines of code 359
Logical lines of code 146
Comment lines 28
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
prepare_item_for_database()
A
42 14 52
prepare_item_for_response()
A
49 8 30
get_item_schema()
S
40 4 72
create_item()
S
54 5 19
get_item_permissions_check()
S
59 5 12
update_item()
S
58 4 15
register_routes()
S
44 1 54
handle_duplicate_check()
S
57 3 15
get_items_permissions_check()
S
63 4 9
prepare_links()
S
56 2 18
update_item_permissions_check()
S
64 3 9
delete_item_permissions_check()
S
64 3 9
create_item_permissions_check()
S
69 2 6
delete_item()
S
64 2 9
get_item()
S
67 2 7
get_items()
S
68 2 7
check_group_exists()
S
69 2 6
__construct()
S
74 1 5
get_collection_params()
S
73 1 5